﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FreeOnlineApplication.Class.Entity
{
    public class Customer
    {
        public int ID = 0;
        public string CODE = "D00000";
        public string ID_NO = "";
        public string NAME = "";
        public string ADDRESS = "";
        public string EMAIL = "";

        public string PHONE = "";
        public string JOB = "";
        public string GENDER = "";
        public DateTime DOB = DateTime.Today;
        
        public Unit UNIT;


        public Customer()
        {
        }
        public Customer(int id)
        {
            ID = id;
        }
        public Customer(int id, string code)
        {
            ID = id;
            CODE = code;
        }
        public override string ToString()
        {
            return NAME;
        }
    }
}
